#pragma once
#include "Player.h"
#include <SFML/Graphics.hpp>
class bullets
{
public:
	bullets();
	~bullets();



	void initialize(sf::RenderWindow* window, float angle, sf::Vector2f playerPos, sf::Texture* image);
	void update();
	void cleanup();
	
	sf::Sprite* m_bulletSprite;
	sf::Texture* m_bulletImg;

	sf::Clock* m_clock;

private: 
	sf::RenderWindow* m_renderWindow;
	
	sf::Time timeSinceLastFrame;
	float speedX;
	float speedY;
	float m_angle;
	
	
};